"""
简单测试
"""
try:
    print("1. 导入基础模块...")
    from fastapi import FastAPI
    print("2. FastAPI导入成功")
    
    from app.core.config import settings
    print("3. 配置导入成功")
    
    from app.core.database import register_database
    print("4. 数据库模块导入成功")
    
    from app.main import app
    print("5. 主应用导入成功")
    
    print("所有导入成功!")
    
except Exception as e:
    print(f"导入失败: {e}")
    import traceback
    traceback.print_exc()
